package net.yambal.RTM.Utilty
{
	public class RTMStringUtil
	{
		public function RTMStringUtil()
		{
		}
		
		static public function buryLeft(gen:Object, bury:String, total_length:int):String{
			var gen_str:String = String(gen);
			var ret:String = gen_str;
			
			while(ret.length < total_length){
				ret = bury + ret;
			}
			
			ret = ret.substr(ret.length - total_length, total_length);
			
			return ret;
		}

	}
}